package com.rxy.sqlSession;

import com.rxy.pojo.Configuration;
import com.rxy.pojo.MapperStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration, MapperStatement mapperStatement, Object... param) throws Exception;
    public int update(Configuration configuration, MapperStatement mapperStatement, Object... param) throws Exception;
    void close() throws SQLException;
}
